import request from "@/utils/request";

// 获取工况最新数据
export function getLatestData(data) {
  return request({
    url: "/practice/data/getLatestData",
    method: "get",
    params: data
  });
}

// 获取工况某条数据不分页数据
export function getPeriodData(data) {
  return request({
    url: "/practice/data/getPeriodData",
    method: "get",
    params: data
  });
}

// 获取工况某条数据分页数据
export function getPeriodList(data) {
  return request({
    url: "/practice/data/getPeriodList",
    method: "get",
    params: data
  });
}
